package com.read.aspectj;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * Hello world!
 *
 */
public class App 
{
    public static void main( String[] args )
    {
    	
    	ApplicationContext context = new ClassPathXmlApplicationContext("application.xml");  
        Monkey monkey = (Monkey) context.getBean("monkey");  
        try {  
            monkey.toutao("孙大圣的大徒弟",100);  
        }  
        catch(Exception e) {} 
    }
}
